package com.juyu.miliao.api.domain.dto;

import com.juyu.miliao.api.validator.GiftSpendCheck;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author xuanqicheng
 *
 */
@Data
public class FindDynamicGiftInfoDTO {

    /**
     * 动态id
     */
    @NotNull(message = "发现id 不能为空")
    private Integer findId;
    /** 礼物id*/
    @NotNull(message = "礼物不能为空")
    @Min(value = 1,message = "礼物格式不正确")
    private Integer giftId;

    /** 数量*/
    @NotNull(message = "礼物数量不能为空")
    @Min(value = 1, message = "礼物数量不正确")
    private Integer num;
}
